#ifndef _SERVICE_MOCK_H_
#define _SERVICE_MOCK_H_
#include "Service.h"

class ServiceMock : public Service {
public:
	ServiceMock(IArduino& arduino, MessageRouter& router, ILogger& logger) 
		: Service(arduino, router, "mock", logger) {}
	MOCK_METHOD1(tick, void(long milliseconds));
	MOCK_METHOD1(onMessage, void(const String& msg));
	MOCK_CONST_METHOD0(getName, const char* ());
	MOCK_CONST_METHOD0(isInfrastructure, bool());
};

#endif